
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head><title>
</title><link href="css/MainStyle.css" rel="stylesheet" type="text/css" />
    <script src="js/cAlert.js" type="text/javascript"></script>
    
    <link href="css/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css" />
    
    <script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="js/jquery-ui-1.8.18.custom.min.js" type="text/javascript"></script>
    <script src="js/autoComplete.js" type="text/javascript"></script>
    <style type="text/css">
        .ui-button
        {
            margin-left: 0px;
        }
        .ui-button-icon-only .ui-button-text
        {
            padding: 0.15em;
        }
        .ui-autocomplete-input
        {
            margin: 0;
            padding: 0.18em 0 0.18em 0.18em;
            font-size: 12px;
        }
        .Company
        {
            width: 240px;
        }
        .Granary
        {
            width: 260px;
        }
        li
        {
            height: 18px;
        }
        #html{width: 100%;height: 100%;}
    </style>
    <script type="text/javascript">
        var popup = null;
        // 显示添加窗口
        function GoAdd() {
            var url = "RotationPlan_Add.aspx";
            popup = new show("购销轮换计划管理", url, 450, 910, 1);
        }
        function EditRotationPlan(serialNO) {
            var url = "RotationPlan_Edit.aspx?sNo=" + serialNO;
            popup = new show("购销轮换计划管理", url, 480, 700, 1);
        }
        function ShowRotationPlanDetail(serialNO) {
            url = "RotationPlanDetail_Manage.aspx?sNo=" + serialNO;
            popup = new show("购销轮换计划明细管理", url, 480, 750, 1);
        }
        // 关闭窗口，同时刷新页面
        function closePopup(msg) {
            if (popup != null) {
                alert(msg);
                popup.Hide();
            } else {
                alert(msg);
                popup = null;
            }
            $('#btn_Query').click();
        }
        // 删除提示信息
        function pageConfirm() {
            var msg = "您确定要删除当前购销轮换计划吗？";
            if (confirm(msg)) {
                return true;
            } else {
                return false;
            }
        };
        $(document).ready(function () {
            //加载AutoComplete全部数据
            //Loding("DC0000000356957", "光山县同富粮食贸易有限责任公司库点", "YHLX0105", "");

            ////查询提示
            //$(".Query").click(function () {
            //    if ($("#hdCompany").val() == "") {
            //        alert('请选择分公司！');
            //        $(".Company_AutoComplete").next("input").focus();
            //        return false;
            //    }
            //    else if ($("#hdGranary").val() == "") {
            //        alert('请选择粮库！');
            //        $(".Granary_AutoComplete").next("input").focus();
            //        return false;
            //    }
            //})
            $(".Query").click(function () {
                SaveOrgDom();
                if ($("#hdGranaryDC").val() == "") {
                    alert("请选择粮库！");
                    return false;
                }
            });
        })
    </script>
    <script type="text/javascript">
        var usertypeid = 'YHLX0105';
    </script>
    <script src="js/json2.js" type="text/javascript"></script>
    <link href="css/OrgHouseSelect.css" rel="stylesheet" />
    <script src="js/OrgHouseSelect.js" type="text/javascript"></script>
</head>
<body style="width:99%;height:99%;border:5px solid #99bbe8;margin:0 auto;border-radius:10px;">
    <form name="form1" method="post" action="RotationPlan_Manage.aspx" id="form1" autocomplete="off">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJMTY0MjI2MzUyD2QWAgIDD2QWAgIJD2QWAmYPZBYEAgEPPCsAEQIADxYEHgtfIURhdGFCb3VuZGceC18hSXRlbUNvdW50ZmQBEBYAFgAWAGQCAw8PFgQeCFBhZ2VTaXplAgoeC1JlY29yZGNvdW50ZmRkGAEFDmd2Um90YXRpb25QbGFuDzwrAAwBCGZkRz9+B8n7lRqZcIYvFQf6ZkZBP2LoSW8QkLyWl8uxeNc=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="css/WebResource.axd?d=zHDbwQNBZkRzBNw2y9i1xg2&amp;t=635694614495804448" type="text/javascript"></script>


<script src="css/ScriptResource.axd?d=2-U7prMC6qCzWBWmoATkVPRCphLz80qe0iL8druuXGlXVr0BXQbHc9Qw6r2YAC4zSa1KFXTc7eSvrMa-_PM1QrIDP4a2DXGuKrn2AWZqc4A1&amp;t=16ab2387" type="text/javascript"></script>
<script src="js/ScriptResource.axd?d=2-U7prMC6qCzWBWmoATkVPRCphLz80qe0iL8druuXGlXVr0BXQbHc9Qw6r2YAC4zTyvgvKd2n8rrVS-QvZ7VAlSVRDlnt35HOIPZVfpgGYo1&amp;t=16ab2387" type="text/javascript"></script>
<div>

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWDwKc+PCSAgKFleiTDAL8tb6cDwKDueP9CALzhaL/DgKk2/vQAwLbxK63CAKe3Y3gBQL1xIzuCALm2aexAQKf0t+VDgKB5J/mDQK9poriCgLurL+GAQLRz5ubDHkAOwButEp8x2Rzr3XRg9/vP5scVKp4yEcr9C7FXxiS" />
</div>
    <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ScriptManager1', 'form1', ['tUpdatePanel1',''], [], [], 90, '');
//]]>
</script>

    
    <table width="100%" class="noboder">
        <tr>
            <td colspan="4" class="tdthread">
                购销轮换计划管理
            </td>
        </tr>
        <tr>
            <td class="tbtitle">
                批文编号：
            </td>
            <td>
                &nbsp;<input name="form_txtApprovalNO" type="text" id="form_txtApprovalNO" autocomplete="off" />
            </td>
            <td class="tbtitle">
                组织结构：
            </td>
            <td>
                
                <ul class="ulOrg">
                    <li><span id="spanOrgCid">分公司:<select  id="ddlCompany"></select></span></li>
                    <li><span id="spanOrgGid">直属库:<select id="ddlGranary"></select></span></li>
                    <li><span id="spanOrgGDCid">粮库:<select  id="ddlGranaryDC"></select></span></li>
                    <li><span id="spanOrgHid">仓房:<select id="ddlStoreHouse"></select></span></li>
                </ul>
                <input type="hidden" name="hdOrgsInfo" id="hdOrgsInfo" value="{&quot;cids&quot;:&quot;&amp;lt;option value=\&quot;SA0000000000035\&quot;&amp;gt;中国储备粮管理总公司河南分公司&amp;lt;/option&amp;gt;&quot;,&quot;cidsSelect&quot;:&quot;SA0000000000035&quot;,&quot;gids&quot;:&quot;&amp;lt;option value=\&quot;SA0000000000401\&quot;&amp;gt;中央储备粮潢川直属库&amp;lt;/option&amp;gt;&quot;,&quot;gidsSelect&quot;:&quot;SA0000000000401&quot;,&quot;dcids&quot;:&quot;&amp;lt;option value=\&quot;DC0000000356957\&quot;&amp;gt;光山县同富粮食贸易有限责任公司库点&amp;lt;/option&amp;gt;&quot;,&quot;dcidsSelect&quot;:&quot;DC0000000356957&quot;,&quot;hids&quot;:&quot;&amp;lt;option value=\&quot;\&quot;&amp;gt;全部&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100100\&quot;&amp;gt;1号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100200\&quot;&amp;gt;2号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100300\&quot;&amp;gt;3号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100400\&quot;&amp;gt;4号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100500\&quot;&amp;gt;5号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100600\&quot;&amp;gt;6号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100700\&quot;&amp;gt;7号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100800\&quot;&amp;gt;8号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957100900\&quot;&amp;gt;9号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101000\&quot;&amp;gt;10号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101100\&quot;&amp;gt;11号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101200\&quot;&amp;gt;12号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101300\&quot;&amp;gt;13号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101400\&quot;&amp;gt;14号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101500\&quot;&amp;gt;15号仓&amp;lt;/option&amp;gt;&amp;lt;option value=\&quot;356957101600\&quot;&amp;gt;16号仓&amp;lt;/option&amp;gt;&quot;,&quot;hidsSelect&quot;:&quot;&quot;}" />
            </td>
        </tr>
        <tr>
            <td colspan="4" class="tdbtnNew">
                <input type="submit" name="btn_Query" value="查 询" id="btn_Query" class="anni1 Query" />
                <input type="button" class="anni7" value="添加轮换计划" onclick="javascript:GoAdd();" />
            </td>
        </tr>
    </table>
    <input type="hidden" name="hdCompany" id="hdCompany" />
    <input type="hidden" name="hdCompanyName" id="hdCompanyName" />
    <input type="hidden" name="hdGranary" id="hdGranary" />
    <input type="hidden" name="hdGranaryName" id="hdGranaryName" />
    <input type="hidden" name="hdGranaryAll" id="hdGranaryAll" value="0" />
    <input type="hidden" name="hdGranaryDC" id="hdGranaryDC" value="DC0000000356957" />
    <input type="hidden" name="hdGranaryDCName" id="hdGranaryDCName" value="光山县同富粮食贸易有限责任公司库点" />
    <input type="hidden" name="hdGranaryDCAll" id="hdGranaryDCAll" value="0" />
    <input type="hidden" name="hdStoreHouseID" id="hdStoreHouseID" />
    <input type="hidden" name="hdStoreName" id="hdStoreName" />
    <input type="hidden" name="hdHouseAll" id="hdHouseAll" value="1" />
    </form>
</body>
</html>
